package cn.lysj.framework.coupon.vo;

import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ZhangWenJian
 * @data 2019/1/16--10:09
 * @description
 */
@Data
public class BirthdayCouponToUserVo {
    private String birthdayCouponConfigId; //生日优惠券设置Id
    private String couponId;          //优惠券Id

    //优惠券块信息
    private String couponName;          //优惠券名称
    @Column(columnDefinition = "decimal(10,2)")
    private BigDecimal fullReductionMoney;  //满减金额
    @Column(columnDefinition = "decimal(10,2)")
    private BigDecimal discountMoney; //优惠金额
    private Integer shareType;        //份额类型 1.无限制 2.有限制 指定分发份数
    private Integer share;            //份额
    private Integer validPeriod;      //有效期限

    private String eventTitle;        //活动标题
    private String eventInfo;         //活动详情
    private String eventImg;          //活动图片


    public BirthdayCouponToUserVo() {
    }


    public BirthdayCouponToUserVo(String birthdayCouponConfigId, String couponId, String couponName, BigDecimal fullReductionMoney, BigDecimal discountMoney, Integer shareType, Integer share, Integer validPeriod, String eventTitle, String eventInfo, String eventImg) {
        this.birthdayCouponConfigId = birthdayCouponConfigId;
        this.couponId = couponId;
        this.couponName = couponName;
        this.fullReductionMoney = fullReductionMoney;
        this.discountMoney = discountMoney;
        this.shareType = shareType;
        this.share = share;
        this.validPeriod = validPeriod;
        this.eventTitle = eventTitle;
        this.eventInfo = eventInfo;
        this.eventImg = eventImg;
    }
}
